package cn.ren.cloud.utiles;


import cn.ren.cloud.result.PageList;
import cn.ren.cloud.vo.CourseAggResultVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * @author 23508
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EsPageList<T> extends PageList<T> {

    private Map<String, List<CourseAggResultVo>> aggResult;

    public EsPageList(Long total, List<T> rows, Map<String, List<CourseAggResultVo>> aggResult) {
        super(total, rows);
        this.aggResult = aggResult;
    }
}
